package com.initial.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.initial.entity.TbCrmEmailRecord;
import com.initial.entity.TbCrmSmsRecord;
import com.initial.mapper.TbCrmEmailRecordMapper;
import com.initial.service.TbCrmSmsRecordService;
import com.initial.mapper.TbCrmSmsRecordMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
* @author 余小年
* @description 针对表【tb_crm_sms_record】的数据库操作Service实现
* @createDate 2021-12-14 17:22:00
*/
@Service
public class TbCrmSmsRecordServiceImpl extends ServiceImpl<TbCrmSmsRecordMapper, TbCrmSmsRecord>
    implements TbCrmSmsRecordService{
    @Resource
    private TbCrmSmsRecordMapper tbCrmSmsRecordMapper;
    @Override
    public IPage<TbCrmSmsRecord> selectAllPage(Page<TbCrmSmsRecord> page) {
        IPage<TbCrmSmsRecord> tbCrmSmsRecordIPage = tbCrmSmsRecordMapper.selectAllPage(page);
        return tbCrmSmsRecordIPage;
    }
}




